﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class LevelManager : UnitySingleton<LevelManager> {

	public List<Level> levels;//所有关卡
	public Level level=null;//当前关卡

    //加载关卡
	public void LoadLevel(int levelID)
	{
		level=Instantiate<Level> (levels [levelID - 1]);
	}
}
